package com.模板模式.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods implements Serializable {

    @Excel(name = "商品编号",isWrap = false)
    private Long goodsId;

    @Excel(name = "商品名称",isWrap = false)
    private String spuName;

    @Excel(name = "库存",isWrap = false)
    private Integer stock;

    @Excel(name = "价格")
    private BigDecimal price;
}
